package com.moleq.logic;

public class MoleQConstants {

	public static final String DB_PACKAGE_NAME = "com.moleq.posdb";
	public static final String ITYDB_PACKAGE_NAME = "com.moleq.inventory.db";
	public static final int DISPLAY_SELECTED_ITEM = 0;
	public static final String ITEM_DISCOUNT_DESC = "  Item Discount %.2f";
	public static final String ITEM_DISCOUNT_PRECENT = "  Item Discount Rate %.2f(%)";

	// food stamp rule
	public static final int ILLINOIS 	= 1;
	public static final int NEWJERSEY 	= 2;
	
	// global price change
	public static final String GPC_INCREASE_PRICE_BY_PER 	= "+ Price By %";
	public static final String GPC_DECREASE_PRICE_BY_PER 	= "- Price By %";
	public static final String GPC_INCREASE_AMOUNT 			= "+ Price By Amount";
	public static final String GPC_DECREASE_AMOUNT 			= "- Price By Amount";
	public static final String GPC_REPLACE_THE_PRICE 		= "Replace Price";
	public static final String GPC_DISCOUNT 				= "Discount";
	public static final int DIALOG_PRICE_DEPT_INFO = 100;
	public static final int DIALOG_PRICE_TYPE_INFO = 200;
	public static final int DIALOG_AGE_INFO = 300;

	// system function
	public static final int PAYMENT_CHECK_OUT 	= 0x1000;
	public static final int OPEN_CASH_DRAWER 	= 0x1001;
	public static final int PRINT_RECEIPT 		= 0x1002;
	public static final int START_TRANSACTION 	= 0x1003;

	
	public static final int REFRESH_SALE_DISPLAY = 500;
	public static final int DISPLAY_PHOTON = 600;
	public static final int UPDATE_QTY = 700;
	public static final int SHOW_PROCESSING = 800;
	public static final int HIDE_PROCESSING =900;
	
	public static final String PLU_REPOT_NORMAL 	= "1000";
	public static final String PLU_REPOT_DISCOUNT 	= "1010";
	public static final String PLU_ITEM_DISCOUNT 	= "1020";
	//public static final String PLU_TIEM_COUPON = "1030";
	
	// approval state
	public static final int STATE_FUNCTION_APPROVAL = 0x2000;
	public static final int STATE_SUBTOTAL_APPROVAL = 0x2001;
	
	// mgpos function
	public static final int ACTIVE_FUNCTION             = 99;
	public static final int FUNCTION_OPEN_DEPARTMENT 	= 98;
	public static final int FUNCTION_ERROR_CORRECT    	= 20;
	public static final int FUNCTION_VOID 		 		= 21;
	public static final int FUNCTION_TARE 		 		= 22;
	public static final int FUNCTION_PRICE_CHANGE  		= 23;
	public static final int FUNCTION_GLOBAL_DISCOUNT    = 24;
	public static final int FUNCTION_COUPON 		 	= 25;
	public static final int FUNCTION_TAX_EXEMPT 	 	= 26;
	public static final int FUNCTION_CANCEL 		 	= 27;
	public static final int FUNCTION_REFUND 		 	= 28;
	public static final int FUNCTION_NO_SALE 		 	= 29;
	public static final int FUNCTION_CUSTOMER 	 		= 30;
	public static final int FUNCTION_ITEM_DISOCUNT 		= 31;
	public static final int FUNCTION_SHIFT_TAX 			= 32;
	public static final int FUNCTION_SHIFT_FOODSTAMP 	= 33;
	public static final int FUNCTION_CVV		 		= 34;
	public static final int FUNCTION_WIC		 		= 35;
	public static final int FUNCTION_SIGN_OUT 			= 36;
	public static final int FUNCTION_VENDER_COUPON		= 37;
	
	public static final int FUNCTION_CASH			 	= 1;
	public static final int FUNCTION_CREDITCARD		 	= 2;
	public static final int FUNCTION_DEBITCARD		 	= 3;
	public static final int FUNCTION_FOODSTAMP		 	= 4;
	public static final int FUNCTION_CHECK			 	= 5;
	public static final int FUNCTION_GIFTCARD		 	= 6;
	
	
	
	public static final int ON_CLICK_CONFIRM_SIGNATURE = 1100;
	public static final int ON_CLICK_REGET_SIGNATURE = 1101;
	
	
	
	
	
	
	
	
}
